<template>
  <div>
    <router-link class="menu-wrapper" to="/articleList?parentId=1">
      独立文章列表
    </router-link>
    <router-link class="menu-wrapper" to="/addArticle?parentId=1&content=1&title2=1">
      添加独立文章
    </router-link>
  </div>
</template>
<script>
import ueditor from "@/components/ueditor"
import { homeInfo } from "@/api/home"
export default {
  name: "home",
  data() {
    return {
      message: ""
    }
  },
  components: {
    ueditor
  },
  created() {}
}
</script>
<style rel="stylesheet/scss" lang="scss">
.flexCon {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-pack: center;
  -webkit-flex-flow: column wrap;
  -ms-flex-flow: column wrap;
  flex-flow: column wrap;
  align-items: center;
}
.hmBox {
  padding-top: 50px;
}
.hmItem {
  position: relative;
  margin-bottom: 35px;
  padding-left: 17px !important;
  padding-right: 17px !important;
}
.homeBox {
  width: 100%;
  height: 215px;
  position: relative;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
}
.homeBox1 {
  background-image: url("/static/images/hmBox1Bg1.jpg");
}
.homeBox2 {
  background-image: url("/static/images/hmBox1Bg2.jpg");
}
.homeBox3 {
  background-image: url("/static/images/hmBox1Bg3.jpg");
}
.homeBox4 {
  background-image: url("/static/images/hmBox1Bg4.jpg");
  justify-content: center;
}
.homeBox .el-card__body {
  width: 100%;
}
.homeBox4 .el-card__body {
  width: auto;
}
.homeBox4 h3 {
  margin: 20px 0;
}
.homeBox4 img {
  vertical-align: middle;
  margin-right: 15px;
}
.hmIco {
  padding-right: 10px;
  padding-top: 5px;
}
.hmIco img {
  max-width: 100%;
}
.hmTit1 {
  font-size: 22px;
  margin: 5px auto;
  font-weight: normal;
}
.hmNum {
  font-size: 22px;
  margin: 5px auto;
}
.hmNum span {
  margin-right: 5px;
  font-size: 37px;
}
.hmBot {
  margin-bottom: 20px;
  display: flex;
}
.hmLef,
.hmRig {
  padding: 0 17px !important;
}
.hmBotBg {
  height: 100%;
  background: #ffffff;
  box-shadow: 0 0 24px rgba($color: #000000, $alpha: 0.1);
  padding: 50px 5%;
  border-radius: 15px;
}
.hmName {
  font-size: 22px;
  color: #333333;
  font-weight: normal;
  margin: 15px 0;
  text-align: center;
}
.cirPercentage {
  margin: 0 auto;
  display: block;
  width: 80%;
  position: relative;
}
.cirPercentage span {
  position: absolute;
  width: 74%;
  height: 74%;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #f0f0f0;
}
.cirPercentage .el-progress {
  margin: 0 auto;
  display: block;
  width: 100%;
}
.cirPercentage .el-progress-circle {
  margin: 0 auto;
  border-radius: 50%;
  padding: 10px;
  border: 1px solid #f0f0f0;
  width: auto !important;
  height: auto !important;
}
.cirPercentage .el-progress__text {
  font-size: 40px !important;
  color: #333333;
}
.hmBotCir {
  width: 153px;
  height: 153px;
  border-radius: 50%;
  background: rgba($color: #2d96ee, $alpha: 0.1);
  margin: 15px auto 30px;
}
.hmBotCir span {
  display: block;
  width: 100%;
}
.hmBotCir span img {
  max-width: 44%;
  margin: 0 auto;
  display: block;
}
.hmBotNum {
  color: #2f98ef;
  font-size: 20px;
  text-align: center;
}
.hmBotNum span {
  font-size: 37px;
  padding-right: 8px;
}

@media screen and (min-width: 991px) {
}
@media screen and (max-width: 1600px) {
  .hmBox {
    padding-top: 30px;
  }
  .hmItem {
    margin-bottom: 25px;
  }
  .homeBox {
    height: 160px;
  }
  .hmTit1 {
    font-size: 16px;
  }
  .homeBox4 h3 {
    margin: 12px 0;
  }
  .hmNum {
    font-size: 16px;
  }
  .hmNum span {
    font-size: 24px;
  }
  .hmName {
    font-size: 18px;
  }
  .hmBotBg {
    padding: 30px 5%;
  }
  .hmBotCir {
    width: 130px;
    height: 130px;
  }
  .hmBotNum {
    font-size: 18px;
  }
  .hmBotNum span {
    font-size: 32px;
  }
  .cirPercentage .el-progress-circle {
    padding: 7px;
  }
  .cirPercentage .el-progress__text {
    font-size: 34px !important;
  }
}
@media screen and (max-width: 1400px) {
  .homeBox {
    height: 130px;
  }
  .homeBox4 h3 {
    margin: 10px 0;
  }
  .homeBox4 img {
    max-width: 22px;
    margin-right: 8px;
  }
  .hmTit1 {
    font-size: 16px;
  }
  .hmNum {
    font-size: 16px;
  }
  .hmNum span {
    font-size: 24px;
  }
  .hmName {
    font-size: 16px;
  }
  .hmBotNum {
    font-size: 16px;
  }
  .hmBotNum span {
    font-size: 26px;
  }
  .cirPercentage span {
    width: 70%;
    height: 70%;
  }
  .cirPercentage .el-progress__text {
    font-size: 30px !important;
  }
}
@media screen and (max-width: 1199px) {
  .hmBot {
    display: block;
  }
  .hmLef {
    margin-bottom: 20px;
  }
  .cirPercentage {
    max-width: 200px;
  }
}
@media screen and (max-width: 768px) {
  .breadcrumbLocation[data-v-6beed8bc] {
    padding: 10px 15px;
  }
  .hmBox {
    padding-top: 20px;
  }
  .hmItem {
    margin-bottom: 15px;
  }
  .homeBox {
    padding: 0;
    height: auto;
  }
  .hmRigCon {
    display: block;
    overflow: hidden;
  }
  .hmRigItem {
    margin-bottom: 15px;
  }
  .hmBotCir {
    margin: 10px auto;
    width: 120px;
    height: 120px;
  }
}
@media screen and (max-width: 460px) {
  .cirPercentage {
    max-width: 170px;
  }
  .hmBotNum span {
    font-size: 22px;
  }
}
</style>
